﻿@model LetLord.Models.LoginModel

@using (Html.BeginForm("Login", "Account", FormMethod.Post))
{

    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    @Html.LabelFor(m => m.UserName)
    @Html.TextBoxFor(m => m.UserName)
    @Html.ValidationMessageFor(m => m.UserName)

    @Html.LabelFor(m => m.Password)
    @Html.PasswordFor(m => m.Password)
    @Html.ValidationMessageFor(m => m.Password)


@*@Html.CheckBoxFor(m => m.RememberMe)
@Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })*@

    <input type="submit" value="Login" class="btn btn-primary btn-block" />
    
    <p>
        @Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" }) if you don't have an account.
    </p>
}


@*@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}*@

